package web.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import jodd.madvoc.ScopeType;
import jodd.madvoc.meta.Action;
import jodd.madvoc.meta.In;
import jodd.madvoc.meta.MadvocAction;
import jodd.madvoc.meta.Scope;
import jodd.madvoc.result.Forward;

@MadvocAction
public class IndexAction {

	private @In String returnUrl;
	private @In String googleKey;// 谷歌验证码

	private @In @Scope(ScopeType.SERVLET) HttpServletRequest servletRequest;
	private @In @Scope(ScopeType.SERVLET) HttpServletResponse servletResponse;

	@Action
	public Forward view() {
		return Forward.to("/index.jsp");
	}

	@Action
	public Forward login_view() {
		return Forward.to("/login.jsp");
	}


}
